package com.bdqn.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.crm.mapper.SalChanceMapper;
import com.bdqn.crm.pojo.SalChance;
import com.bdqn.crm.service.SalChanceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class SalChanceServiceImpl extends ServiceImpl<SalChanceMapper, SalChance>
        implements SalChanceService {

    @Resource
    private SalChanceMapper salChanceMapper;

    /**
     * 分页查询
     *
     * @param custName  客户名称
     * @param chcDesc   概要
     * @param pageIndex 页码
     * @param pageSize  每页显示多少
     * @return
     */
    @Override
    public List<SalChance> selectPages(String custName, String chcDesc, Integer pageIndex, Integer pageSize) {
        return salChanceMapper.selectPages(custName,chcDesc,pageIndex,pageSize);
    }
}




